<%--
  Created by IntelliJ IDEA.
  User: 86177
  Date: 2023/6/16
  Time: 13:18
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Manager</title>
    <meta charset="UTF-8">
    <link rel="stylesheet" href="../css/bootstrap.css">
    <link rel="stylesheet" href="../css/bootstrap-theme.css">
    <script type="javascript" src="../js/bootstrap.min.js"></script>
    <script type="javascript" src="../js/bootstrap.js"></script>
    <script>
        var url;
        function funOne(url){
            document.getElementById("ifrme").src=url;
        }
    </script>
    <style>
        .left{
            width: 10%;
            float: left;
            height: 80%;
        }
        .right{
            width: 90%;
            float: right;
            height: 80vh;
        }
    </style>
</head>
<body>
<nav class="navbar navbar-default">
    <div class="container-fluid">
        <div class="navbar-header">
            <a class="navbar-brand" href="#" >图书馆座位预约管理员界面</a>
        </div>
        <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
            <ul class="nav navbar-nav">
                <li><h1>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</h1></li>
                <li><a href="#" onclick=funOne("AddAnn.jsp")>发布公告</a></li>
                <li><a href="#" onclick=funOne("LookMessage.jsp")>查看留言</a></li>
                <li><a href="#" onclick=funOne("SignInOff.jsp")>签到与签离</a></li>
            </ul>
            <form class="navbar-form navbar-left" action="UserMessage" method="post" >
                <div class="form-group">
                    <input type="text" class="form-control" placeholder="用户id" name="name">
                </div>
                <button type="submit" class="btn btn-default" onclick=funOne("")>查询</button>
            </form>
            <ul class="nav navbar-nav navbar-right">
                <li><a href="LogIn.jsp" >退出登录</a></li>
            </ul>
        </div>
    </div>
</nav>
<div>
    <div class="left">
        <ul  class="nav nav-pills nav-stacked">
            <li role="presentation" ><a href="#" onclick=funOne("Manager_seatone")>普通座位</a></li>
            <li role="presentation"><a href="#" onclick=funOne("Manager_readroom")>朗读亭</a></li>
            <li role="presentation"><a href="#" onclick=funOne("Manager_seminar")>研讨间</a></li>
        </ul>
    </div>
    <div class="right">
        <iframe src="SignInOff.jsp" id="ifrme" width=100% height=100%></iframe>
    </div>
</div>
</body>
</html>
